package com.miao.admin.entity.vo;

import com.miao.common.entity.pojo.Purchase;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author MiaoWenqing
 * @description: 商品 列表展示
 * @date 2021/2/3 14:50
 */
public class ProductVO {

    //商品编号
    private String proId;
    //商店id
    private Integer storeId;
    //商品名称
    private String proName;
    //商品品类
    private String proClass;
    //商品标题
    private String proTitle;
    //商品副标题
    private String proSubtitle;
    //商品单位
    private String proUnit;
    //商品售价
    private BigDecimal proPrice;
    //促销 折扣
    private Integer proDis;
    //商品进价
    private BigDecimal proCost;
    //是否为促销状态 1促销状态 0 正常状态
    private Boolean isDiscount;
    //是否上架 1 上架 0 不上架
    private Boolean isShow;
    // 商品封面图
    private String proIcon;

    public ProductVO() {
    }

    public String getProId() {
        return proId;
    }

    public void setProId(String proId) {
        this.proId = proId;
    }

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }

    public String getProClass() {
        return proClass;
    }

    public void setProClass(String proClass) {
        this.proClass = proClass;
    }

    public String getProTitle() {
        return proTitle;
    }

    public void setProTitle(String proTitle) {
        this.proTitle = proTitle;
    }

    public String getProSubtitle() {
        return proSubtitle;
    }

    public void setProSubtitle(String proSubtitle) {
        this.proSubtitle = proSubtitle;
    }

    public String getProUnit() {
        return proUnit;
    }

    public void setProUnit(String proUnit) {
        this.proUnit = proUnit;
    }

    public BigDecimal getProPrice() {
        return proPrice;
    }

    public void setProPrice(BigDecimal proPrice) {
        this.proPrice = proPrice;
    }

    public Integer getProDis() {
        return proDis;
    }

    public void setProDis(Integer proDis) {
        this.proDis = proDis;
    }

    public BigDecimal getProCost() {
        return proCost;
    }

    public void setProCost(BigDecimal proCost) {
        this.proCost = proCost;
    }



    public Boolean getDiscount() {
        return isDiscount;
    }

    public void setDiscount(Boolean discount) {
        isDiscount = discount;
    }

    public Boolean getShow() {
        return isShow;
    }

    public void setShow(Boolean show) {
        isShow = show;
    }

    public String getProIcon() {
        return proIcon;
    }

    public void setProIcon(String proIcon) {
        this.proIcon = proIcon;
    }

    @Override
    public String toString() {
        return "ProductVO{" +
                "proId='" + proId + '\'' +
                ", storeId=" + storeId +
                ", proName='" + proName + '\'' +
                ", proClass='" + proClass + '\'' +
                ", proTitle='" + proTitle + '\'' +
                ", proSubtitle='" + proSubtitle + '\'' +
                ", proUnit='" + proUnit + '\'' +
                ", proPrice=" + proPrice +
                ", proDis=" + proDis +
                ", proCost=" + proCost +
                ", isDiscount=" + isDiscount +
                ", isShow=" + isShow +
                ", proIcon='" + proIcon + '\'' +
                '}';
    }
}